"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = Example1;

var _index = _interopRequireDefault(require("../../index"));

var _react = _interopRequireDefault(require("react"));

var _button = _interopRequireDefault(require("../../../button"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function Example1() {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_button.default, {
    onClick: function onClick() {
      return _index.default.info({
        content: '这是一条信息提示',
        hasMask: true
      });
    }
  }, "\u6709\u906E\u7F69\u5C42"), /*#__PURE__*/_react.default.createElement(_button.default, {
    onClick: function onClick() {
      return _index.default.success({
        content: '这是一条成功提示',
        hasMask: false
      });
    }
  }, "\u65E0\u906E\u7F69\u5C42"));
}